<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Create page</title>
</head>
<body>
Create page
    <form name="project" action="/cms/${project}/page/create" method="POST">
      <table>
        <tr><td>url:</td><td><input type='text' name='url'/></td></tr>
        <tr><td>description:</td><td><input type='text' name='description'></td></tr>
        
        <tr><td>css:</td>
        <td><select name="css" id="SelectCss" size="10">
			<c:forEach items="${styles}" var="s">
				<option value="${s.id}"><c:out value="${s.name}" /></option>
			</c:forEach>
			</select></td></tr>
 
        <tr><td>template:</td>
        <td><select name="template" id="SelectTemplate" size="10">
			<c:forEach items="${templates}" var="t">
				<option value="${t.id}"><c:out value="${t.name}" /></option>
			</c:forEach>
			</select></td></tr>
 
        <tr><td colspan='2'><input name="submit" type="submit"></td></tr>
      </table>
    </form>
</body>
</html>